//
//  Topic.h
//  MGameTribe
//
//  Created by 杨敏 on 13-6-13.
//  Copyright (c) 2013年 YangMin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ConstantHeader.h"

@interface Topic : NSObject
@property(nonatomic,retain)NSString *topic_id;
@property(nonatomic,retain)NSString *sort_id;
@property(nonatomic,retain)NSString *uid;

@property(nonatomic,retain)NSString *title;
@property(nonatomic,retain)NSString *nickname;
@property(nonatomic,retain)NSString *last_reply_content;
@property(nonatomic,retain)NSString *last_reply_time;

@property(nonatomic,retain)NSString *age;
@property(nonatomic,retain)NSString *content;

@property(nonatomic,retain)NSString *like_num;
@property(nonatomic,retain)NSString *reply_num;
@property(nonatomic,retain)NSString *read_num;

@property(nonatomic,assign)BOOL ispic;
@property(nonatomic,assign)BOOL is_jinhua;
@property(nonatomic,assign)BOOL is_audio;
@property(nonatomic,assign)BOOL is_top;

@property(nonatomic,retain)NSURL *faceUrl;
@property(nonatomic,retain)NSURL *picUrl;

@property(nonatomic,assign)Gender gender;

@property(nonatomic,assign)CGFloat height;
@property(nonatomic,assign)CGFloat width;

+(Topic *)topicWithData:(NSDictionary*)data;

@end
